package com.hzit.manager.client;

import com.hzit.common.utils.R;
import com.hzit.manager.client.fallback.OrderFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(value = "hzit-order",fallback = OrderFallback.class)
public interface OrderClient {

	//1. 保存订单
	@PostMapping("/order/save")
	@ResponseBody
	R saveOrder();
}
